{{extend 'layout.html'}}

<form id="profile" class="form-stacked" method="POST"
    action="/radio/member/profile">
    <fieldset>
        <legend>Profile Information</legend> 

         <div class="clearfix">
            <label for="email">E-mail</label>
                <div class="input">
                  <input class="xlarge" id="email" name="email" value= "{{=memberdata.Email}}" size="30"
                    type="text">
                </div>
        </div>

        <div class="clearfix">
            <a href=""{{=URL('member','member/change_password')}}"">Change Password</a>
        </div>

        <div class="clearfix">
            <label for="name">Name</label>
                <div class="input">
                  <input class="xlarge" id="name" name="name" value="{{=memberdata.Name}}" size="30"
                    type="text">
                </div>
        </div>

        <div class="clearfix">
            <label for="address">Address</label>
            <div class="input">
                <input class="xlarge" id="address" name="address" value="{{=memberdata.Address}}" size="30"
                type="text">
            </div>
        </div>

        <div class="clearfix">
            <label for="phone">Phone Number</label>
            <div class="input">
              <input class="xlarge" id="phone" name="phone" value="{{=memberdata.Phone}}" size="30"
                type="text">
            </div>
        </div>

        <div class="clearfix">
            <label for="gender">Gender</label>
            <div class="input">
              <select name="gender" id="gender" value="{{=memberdata.Gender}}">
                    <option value="m">Male</option>
                    <option value="f">Female</option>
                </select>
            </div>
        </div>

        <div class="clearfix">
            <label for="birthdate">Birthdate</label>
            <div class="input">
              <input class="xlarge" id="birthdate" name="birthdate" value="{{=memberdata.BirthDate}}" size="40"
                type="date">
            </div>
        </div>


        <div class="clearfix">
            <div class="input">
                <input class="btn info" id="submit" name="submit" 
                type="submit" value="Submit">
                <input class="btn" id="cancel" name="cancel" 
                type="submit" value="Cancel">
            </div>
        </div>

    </fieldset>
</form>
